package com.example.erpms.feign;

import com.example.erpms.domain.ShoppingBill;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: xwg
 * @CreateDate: 2023/10/7
 */


//@RequestMapping("/testing")
    @FeignClient(path = "/testing",value = "SUPPORT")
public interface TestingServiceFn {

    @GetMapping("/time")
    String time() ;
    @PostMapping("/insert")
    ShoppingBill insert(@RequestBody ShoppingBill shoppingBill);
}
